<?php include "widgets/top_banner.php"; ?>
<?php echo BreadCrumb::view(); ?>
<div class="single-page">
	<h2 class="title"><span><?php echo $hotels['hotel_name']; ?></span></h2>
	<div class="single-img">
		<img src="<?php echo $hotels['photo1']; ?>" alt="><?php echo $hotels['hotel_name']; ?>" title="<?php echo $hotels['hotel_name']; ?>" />
    </div>
    <div class="single-content">
        <?php
            // If star available
            if(!empty($hotels['star_rating'])){
        ?>
                <div class="star-rating">
                    <img src="<?php echo Hotels::getStarImg($hotels['star_rating']); ?>" title="<?php echo $hotels['star_rating']; ?> stars" alt="<?php echo $hotels['star_rating']; ?> stars" />
                </div>
        <?php
            }
        ?>
        <h3><?php echo $hotels['addressline1']; ?></h3>
        <p><?php echo $hotels['overview']; ?></p>
    </div>
    <div class="clearer"></div>
    <div class="hotel-property">
        <h3>Hotel Area: <span><?php echo $hotels['destination_name']; ?></span></h3>
        <h3>Number of Rooms: <span><?php echo $hotels['numberrooms']; ?></span></h3>
        <h3>Number of Floor: <span><?php echo $hotels['numberfloors']; ?></span></h3>
        <div class="clearer"></div>
    </div>
    <table cellpadding="0" cellspacing="0">
        <tbody>
            <tr>
                <th colspan="2">Standard Rate</th>
                <th class="text-right">Night</th>
                <th class="text-right">Price</th>
                <th class="book">&nbsp;</th>
            </tr>
            <tr>
                <td>
                    Double or Twin SUPERIOR<br>
                    <span>BED AND BREAKFAST</span>
                </td>
                <td>
                    <img title="2 adults 0 children" alt="adult" class="people-icon" src="http://risskov-hotel.indosofthosting.com/site/img/adult.png"><img title="2 adults 0 children" alt="adult" class="people-icon" src="http://risskov-hotel.indosofthosting.com/site/img/adult.png">
                </td>
                <td class="text-right">3 Nights</td>
                <td class="text-right">49 EUR</td>
                <td class="book">Book</td>
            </tr>
        </tbody>
	</table>
    
    <h2 class="hotel-img"><span>Hotel Images</span></h2>
    <div class="hotel-img">
        <img src="<?php echo $hotels['photo2']; ?>" alt="<?php echo $hotels['hotel_name']; ?>" title="<?php echo $hotels['hotel_name']; ?>" />
        <img src="<?php echo $hotels['photo3']; ?>" alt="<?php echo $hotels['hotel_name']; ?>" title="<?php echo $hotels['hotel_name']; ?>" />
        <img src="<?php echo $hotels['photo4']; ?>" alt="<?php echo $hotels['hotel_name']; ?>" title="<?php echo $hotels['hotel_name']; ?>" />
        <img src="<?php echo $hotels['photo5']; ?>" alt="<?php echo $hotels['hotel_name']; ?>" title="<?php echo $hotels['hotel_name']; ?>" class="last" />
        <div class="clearer"></div>
    </div>
    
    <h2 class="hotel-map"><span>Location on Map</span></h2>
    <div id="map_canvas"></div>
    <div class="hotel-map-nav">Get Direction</div>
</div>
<?php include "widgets/side_left.php"; ?>

<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
<script type="text/javascript">
	var mapDescription = '<table><tr><td valign="top"><img src="<?php echo $hotels['photo2']; ?>" alt="<?php echo $hotels['hotel_name']; ?>" width="100" /></td><td valign="top"><h3><?php echo $hotels['hotel_name']; ?></h3><div><img src="<?php echo Hotels::getStarImg($hotels['star_rating']); ?>" title="<?php echo $hotels['star_rating']; ?> stars" alt="<?php echo $hotels['star_rating']; ?> stars" /></div><div><?php echo $hotels['addressline1']; ?></div></td></tr></table>';
	
	var markers = [[-8.7481,115.1675,'Ngurah Rai International Airport Bali'],[<?php echo $hotels['latitude']; ?>, <?php echo $hotels['longitude']; ?>, mapDescription]];
</script>
<script src="js/google_map.js" type="text/javascript"></script>